package com.yishun.springboot.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.fastjson.JSONObject;
import com.yishun.springboot.service.GWSLongGangQuUploadCraneServiceImpl;

@RestController
@RequestMapping("/GWSLongGangQuUploadCrane")
public class GWSLongGangQuUploadCrane {

	@Autowired
	GWSLongGangQuUploadCraneServiceImpl gWSLongGangQuUploadCraneServiceImpl;

	@RequestMapping("/addGWSCrane")
	public String addGWSCrane(@RequestBody JSONObject jsonObject) {
		String res = gWSLongGangQuUploadCraneServiceImpl.uploadCraneBasic(jsonObject);
		return res;
	}

}
